XML-Java Data Binding Framework
نویسندگان
چکیده
Writing efficient, correct programs to process complex XML documents can be time-consuming and difficult. While data binding frameworks automate translating untyped, structured XML data into strongly typed data structures, their overhead, in terms of configuration during development and maintenance, and CPU at runtime, may be prohibitive. We present an open source XML-Java data binding framework to optimize the efficiency and expressive power of programmers and their applications. An annotation metalanguage embedded in Java field declarations enables fine-grained expression of the semantics of bi-directional XML-Java translation. The tight integration of information and program semantics is symbiotic, promoting software maintenance. The programmer can choose the most appropriate and efficient data structures to represent a particular dialect of XML, based on application needs. For example, collections can be automatically bound to hash tables with a single metalanguage declaration. A formal type system of translation scopes encapsulates sets of Java classes for binding XML elements. Translation scopes can be organized in correspondence with software components and composed through multiple-inheritance, maximizing reuse. The metalanguage is efficiently interpreted at runtime, avoiding preprocessors, through a parse tree of optimization structures. Performance and usability exceed that of other frameworks.
منابع مشابه
Transparent XML Binding using the ALMA Common Software (ACS) Container/Component Framework
ALMA software, from high-level data flow applications down to instrument control, is built using the ACS framework. The common architecture and infrastructure used for the whole ALMA software is presented at this conference in (Schwarz, Farris, & Sommer 2003). ACS offers a CORBA-based container/component model and supports the exchange and persistence of XML data. For the Java programming langu...
متن کاملType isomorphisms simplify XML programming
A program that processes XML documents can be implemented using an XML data binding. Programming with an XML data binding can be painful, because the classes or types generated by the data binding are not in the style native to the host language. JAXB, a Java-XML data binding, supports binding customizations to mitigate this problem. Programming with a type-safe binding such as our HaskellXML d...
متن کاملBitstream Binding Language - Mapping XML Multimedia Containers into Streams
Bitstream Binding Language (BBL) provides an abstraction layer between XML multimedia containers and the way their resources and metadata are published in a bitstream. It allows multiple bindings from a single source document to facilitate interoperability and applicability of the multimedia content to a wide range of terminals and users. BBL introduces a number of features not found in other X...
متن کاملData-Binding Facility for the Java Platform
Sun Microsystems has recently undertaken to provide basic support for XML in the Java Platform. The proposed facilities include both an event-driven, SAX-compliant parser and an implementation of the W3C DOM (Document Object Model) parse-tree API. This is a critical first step, but using these fairly low-level APIs does require a moderately sophisticated understanding of XML. In order to make X...
متن کاملWISH Query Composer
The WISH (With Intuitive Search Help) Query Composer is a software tool for composing form-based queries and their associated reports for relational databases. It incorporates the SQL and XML industry standards to generate user-friendly customizable queries and reports. It uses the very simple but flexible XML semantics to represent database schemas, SQL queries and result datasets, regardless ...
متن کامل